home *** CD-ROM | disk | FTP | other *** search
- 8970 rem position to relative record before write
- 8980 rem from shiloh's raid (c) 1987 david shiloh
- 8990 rem adapted from the transactor, volume 7 issue 4
- 9000 if sr then r1=sr+1: r2=sr+2: r=2
- 9010 q=n*l: q%=q/254: q=q-q%*254: sr=-q%*(l>q)
- 9020 if sr then sr=-q%*(q-l-1)
- 9030 h%=n/256: lo=n-h%*256
- 9040 rem point twice and wait if needed
- 9050 if r then r=r-1: if q%=r1 or q%=r2 then gosub 9060: w=162
- 9060 print#lf,"p"chr$(sa)chr$(lo)chr$(h%)chr$(0)
- 9070 if w then poke w,2: wait w,32: w=0
- 9080 return
-